package com.pzhu.acargid.model;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pzhu.acargid.domain.Model;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Lenovo
 * @description 针对表【model】的数据库操作Service实现
 * @createDate 2023-08-14 14:00:08
 */
@Service
public class ModelServiceImpl extends ServiceImpl<ModelMapper, Model>
        implements ModelService {
    @Autowired
    private ModelMapper modelMapper;

    @Override
    public void getfiles(Integer userid, Model item) {
        Integer files = modelMapper.getfiles(userid, item.getModDbTable());
        item.setFiles(files);
    }
}




